// props使用
import Pares from '@/views/basic/propsSlot/Pares';
// 类组件
import ClassCom from '@/views/basic/classCom/index';
// hook组件
import HookCom from '@/views/basic/hookCom';
// ref
import Ref from '@/views/basic/ref/index';
// hook组件小例子
import HookComEg from '@/views/basic/hookComEg/index';
// 缓存
import UseMemo from '@/views/basic/UseMemo/index';
// 函数缓存
import UseCallback from '@/views/basic/UseCallback/index';
// 自定义hook
import CustomHook from '@/views/basic/CustomHook/index';
// 类组件父子传值小demo
import Vote from '@/views/demo/ClassVote/vote';
// hook组件父子传值小demo
import FunVote from '@/views/demo/FunVote/vote';
// redux 小demo
import ReduxDom from '@/views/demo/ReduxDom/index';

function App() {
  return (
    <div className="App">
     {/* <Pares/> */}
     {/* <ClassCom title={'标题'} /> */}
     {/* <HookCom number={3}/> */}
     {/* <Ref/> */}
     {/* <HookComEg/> */}
     {/* <UseMemo/> */}
     {/* <UseCallback/> */}
     {/* <CustomHook/> */}
     {/* <Vote/> */}
     {/* <FunVote/> */}
     <ReduxDom/>
    </div>
  );
}

export default App;
